package com.seckill.service;

import com.seckill.domain.MiaoshaUser;
import com.seckill.domain.OrderInfo;
import com.seckill.vo.GoodsVo;

/**
 * @author yangjunwei
 * @date 2021/11/2 10:46 上午
 */
public interface OrderService {

    OrderInfo createOrder(GoodsVo goodsVo, MiaoshaUser miaoshaUser);

    OrderInfo getOrderById(Integer orderId);

    /**
     * 订单过期取消
     */
    void orderDelayCancel(Integer orderId);


}
